import java.net.*;
import java.io.*;

public class DownloadThread extends Thread{
	private ServerSocket ssocket;
	private String path;
	private String name;
	public DownloadThread(ServerSocket ssocket,String path,String name){
		this.ssocket = ssocket;
		this.path=path;
		this.name=name;
	}
	public void run() {
		try{
			Socket socket = ssocket.accept();
			//mando arquivo pro cliente
			
			socket.close();
			ssocket.close();
		}
		catch (IOException e){
			e.printStackTrace();
		}
	}
}

